package com.scorpio;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ScorpioAppApiApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(ScorpioAppApiApplication.class, args);
        String serverPort = context.getEnvironment().getProperty("server.port");
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ   started at http://localhost:" + serverPort + "/swagger-ui.html");
    }

}
